package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.Attentance;
import cn.wolfcode.education.query.AttentanceQuery;

import java.util.List;

public interface AttentanceMapper {


    Attentance selectByPrimaryKey(Integer id);

    List<Attentance> selectAll();

    int updateByPrimaryKey(Attentance record);

    int queryForCount(AttentanceQuery qo);

    List<Attentance> queryForList(AttentanceQuery qo);

    void saveForSignOut(Attentance attentance);

    void saveForSignOn(Attentance attentance);

    Attentance selectSignOnByEmployeeId(Long id);
}